package com.sgcc.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

/**
 * 监控系统异常对象 o_anomaly_info
 * 
 * @author sgcc
 * @date 2021-03-22
 */
public class OAnomalyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一主键，序列 */
    private String id;

    /** 生成ID */
    @Excel(name = "生成ID")
    private String monid;

    /** 监控指标 */
    @Excel(name = "监控指标")
    private String monTarCode;

    /** 监控系统 */
    @Excel(name = "监控系统")
    private String monSysCode;

    /** 监控类型 */
    @Excel(name = "监控类型")
    private String monType;

    /** 异常发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "异常发生时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date occTime;

    /** 异常信息 */
    @Excel(name = "异常信息")
    private String errMessage;

    /** 处理完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** 处理说明异常原因 */
    @Excel(name = "处理说明异常原因")
    private String handleDesc;

    /** 处理人 */
    @Excel(name = "处理人")
    private String handleName;

    /** 异常时长 */
    @Excel(name = "异常时长")
    private BigDecimal duration;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String status;

    /** 调用标志(11.8的数模没有这个字段) */
    private String invokeFlag;

    /** 监控状态 */
    @Excel(name = "监控状态")
    private String monStatus;

    /** 统计值 */
    @Excel(name = "统计值")
    private BigDecimal nStat;

    /** 监控结果信息 */
    @Excel(name = "监控结果信息")
    private String monMessage;

    /** 统计值2 */
    @Excel(name = "统计值2")
    private BigDecimal nStat2;

    /** 统计值3 */
    @Excel(name = "统计值3")
    private BigDecimal nStat3;

    /** 数据写入对象 */
    @Excel(name = "数据写入对象")
    private String createObj;

    /** 供电单位 */
    @Excel(name = "供电单位")
    private String orgNo;

    /** 区域 */
    @Excel(name = "区域")
    private String areaNo;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extrField;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extrField2;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String sendMsg;

    /** 提交人 */
    private String applyUserId;

    /** 提交人 */
    @Excel(name = "提交人")
    private String applyUserName;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /** 流程ID */
    private String instanceId;

    /** 流程key */
    private String processKey;

    /** 是否删除 */
    private String delFlag;
    
    private Integer count;
    
    private Integer twelve;
    
    private Integer tetracosa;
    
    private String type;

    private String assignee;

   private Set<String> roleKey;


    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

    public Set<String> getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(Set<String> roleKey) {
        this.roleKey = roleKey;
    }

    public void setMonid(String monid)
    {
        this.monid = monid;
    }

    public String getMonid() 
    {
        return monid;
    }
    public void setMonTarCode(String monTarCode) 
    {
        this.monTarCode = monTarCode;
    }

    public String getMonTarCode() 
    {
        return monTarCode;
    }
    public void setMonSysCode(String monSysCode) 
    {
        this.monSysCode = monSysCode;
    }

    public String getMonSysCode() 
    {
        return monSysCode;
    }
    public void setMonType(String monType) 
    {
        this.monType = monType;
    }

    public String getMonType() 
    {
        return monType;
    }
    public void setOccTime(Date occTime) 
    {
        this.occTime = occTime;
    }

    public Date getOccTime() 
    {
        return occTime;
    }
    public void setErrMessage(String errMessage) 
    {
        this.errMessage = errMessage;
    }

    public String getErrMessage() 
    {
        return errMessage;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setHandleDesc(String handleDesc) 
    {
        this.handleDesc = handleDesc;
    }

    public String getHandleDesc() 
    {
        return handleDesc;
    }
    public void setHandleName(String handleName) 
    {
        this.handleName = handleName;
    }

    public String getHandleName() 
    {
        return handleName;
    }
    public void setDuration(BigDecimal duration) 
    {
        this.duration = duration;
    }

    public BigDecimal getDuration() 
    {
        return duration;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setInvokeFlag(String invokeFlag) 
    {
        this.invokeFlag = invokeFlag;
    }

    public String getInvokeFlag() 
    {
        return invokeFlag;
    }
    public void setMonStatus(String monStatus) 
    {
        this.monStatus = monStatus;
    }

    public String getMonStatus() 
    {
        return monStatus;
    }
    public void setnStat(BigDecimal nStat) 
    {
        this.nStat = nStat;
    }

    public BigDecimal getnStat() 
    {
        return nStat;
    }
    public void setMonMessage(String monMessage) 
    {
        this.monMessage = monMessage;
    }

    public String getMonMessage() 
    {
        return monMessage;
    }
    public void setnStat2(BigDecimal nStat2) 
    {
        this.nStat2 = nStat2;
    }

    public BigDecimal getnStat2() 
    {
        return nStat2;
    }
    public void setnStat3(BigDecimal nStat3) 
    {
        this.nStat3 = nStat3;
    }

    public BigDecimal getnStat3() 
    {
        return nStat3;
    }
    public void setCreateObj(String createObj) 
    {
        this.createObj = createObj;
    }

    public String getCreateObj() 
    {
        return createObj;
    }
    public void setOrgNo(String orgNo) 
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }
    public void setAreaNo(String areaNo) 
    {
        this.areaNo = areaNo;
    }

    public String getAreaNo() 
    {
        return areaNo;
    }
    public void setExtrField(String extrField) 
    {
        this.extrField = extrField;
    }

    public String getExtrField() 
    {
        return extrField;
    }
    public void setExtrField2(String extrField2) 
    {
        this.extrField2 = extrField2;
    }

    public String getExtrField2() 
    {
        return extrField2;
    }
    public void setSendMsg(String sendMsg) 
    {
        this.sendMsg = sendMsg;
    }

    public String getSendMsg() 
    {
        return sendMsg;
    }
    public void setApplyUserId(String applyUserId) 
    {
        this.applyUserId = applyUserId;
    }

    public String getApplyUserId() 
    {
        return applyUserId;
    }
    public void setApplyUserName(String applyUserName) 
    {
        this.applyUserName = applyUserName;
    }

    public String getApplyUserName() 
    {
        return applyUserName;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setInstanceId(String instanceId) 
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId() 
    {
        return instanceId;
    }
    public void setProcessKey(String processKey) 
    {
        this.processKey = processKey;
    }

    public String getProcessKey() 
    {
        return processKey;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    
    

    public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getTwelve() {
		return twelve;
	}

	public void setTwelve(Integer twelve) {
		this.twelve = twelve;
	}

	public Integer getTetracosa() {
		return tetracosa;
	}

	public void setTetracosa(Integer tetracosa) {
		this.tetracosa = tetracosa;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("monid", getMonid())
            .append("monTarCode", getMonTarCode())
            .append("monSysCode", getMonSysCode())
            .append("monType", getMonType())
            .append("occTime", getOccTime())
            .append("errMessage", getErrMessage())
            .append("finishTime", getFinishTime())
            .append("handleDesc", getHandleDesc())
            .append("handleName", getHandleName())
            .append("duration", getDuration())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("invokeFlag", getInvokeFlag())
            .append("monStatus", getMonStatus())
            .append("nStat", getnStat())
            .append("monMessage", getMonMessage())
            .append("nStat2", getnStat2())
            .append("nStat3", getnStat3())
            .append("createObj", getCreateObj())
            .append("orgNo", getOrgNo())
            .append("areaNo", getAreaNo())
            .append("extrField", getExtrField())
            .append("extrField2", getExtrField2())
            .append("sendMsg", getSendMsg())
            .append("applyUserId", getApplyUserId())
            .append("applyUserName", getApplyUserName())
            .append("applyTime", getApplyTime())
            .append("instanceId", getInstanceId())
            .append("processKey", getProcessKey())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
